package com.njtoyo.taxi.admin.mapper.secondary.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.njtoyo.taxi.admin.mapper.secondary.enums.VersionModel;
import com.njtoyo.taxi.admin.mapper.secondary.enums.VersionUserGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "versions")
public class Versions {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private VersionModel model;

    private VersionUserGroup useGroup;

    private String newVersion;


    private String image;

    private String title;

    private String subtitle;

    private String content;

    private Boolean forceUpdating;

    private Boolean patch;

    private String downloadUrl;

    private String versionSpecs;

    private String extra;

    private Date createdAt;

    private Date updatedAt;





}
